#include <iostream>
#include "Robot.h"
#include "CommandLine.h"

using namespace std;

Robot* robot = new Robot();

int main()
{	
	cout << "Debut" << endl;
	
	Afficheur afficheur;
	robot->ajouterObserveur(&afficheur);
	CommandLine commandLine;
	commandLine.launcher();
	
	/*Position pos1(1,2);
	Position pos2(1,2);
	Direction dir("Nord");
	
	robot->avancer(pos1);
	cout << endl;
	robot->tourner(dir);
	cout << endl;
	robot->saisir();
	cout << endl;
	robot->peserObjet();
	cout << endl;
	robot->poser();
	cout << endl;
	robot->evaluerObstacle();
	cout << endl;
	robot->arreter();
	cout << endl;
	robot->repartir();
	cout << endl;
	robot->avancer(pos2);
	cout << endl;*/
	cout << "Fin" << endl;
	
    return 0;
}
